﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Media;

namespace EvoGame.Bitmaps
{
    public class bitmap
    {
        public int width, height;
        public UInt32[] pixels;
        Texture2D tex;

        public bitmap(int w, int h)
        {
            width = w;
            height = h;
            pixels = new UInt32[w * h];
            tex = new Texture2D(Game1.device, width, height);
        }

        virtual public void setPixel(uint x, uint y, uint color) { }

        virtual public void update() { }

        virtual public void render(SpriteBatch batch, int x, int y, float rotation, Vector2 origin) { }
    }
}
